<xsl:stylesheet 
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:xsltc="http://xml.apache.org/xalan/xsltc"
    xmlns:redirect="http://xml.apache.org/xalan/redirect"
    extension-element-prefixes="xsltc redirect"
    version="1.0">
    <xsl:template match="/">
        <xsl:text>This goes to standard output</xsl:text>
        <xsltc:output file="case1.xml">
            <xsl:text>This ends up in the file 'blob.xml'</xsl:text>
        </xsltc:output>
        <redirect:write file="config.xml">
            <xsl:text>This ends up in the file 'blob2.xml'</xsl:text>
        </redirect:write>
    </xsl:template>
</xsl:stylesheet>
